<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script>
			alert(555);
			function doInit(){
				alert("页面 加载完成");
			}
			function c(p){
				alert("下拉框变了"+p.value);
			}
		</script>
	</head>
	<body onload="doInit()">
		<select name="city" id="" onchange="c(this)">
			<option value="hefei">hefei</option>
			<option value="anqing">anqing</option>
			<option value="fuyang">fuyang</option>
		</select>
	</body>
</html>